﻿<%@ Page Language="C#" MasterPageFile="~/PM.Master" AutoEventWireup="true" CodeBehind="AdvisorForm.aspx.cs" Inherits="PM.Site.AdvisorRegister" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div>
    <table> 
        <tr>
            <td>Advisor Id:</td>
            <td><asp:TextBox ID="txbAdvisorId" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>   
        <tr>
            <td>Title:</td> 
            <td><asp:DropDownList ID="ddlTitleList" runat="server" DataTextField="TitleName" DataValueField="TitleName"></asp:DropDownList> </td>
        </tr>
        <tr>
            <td>Initials:</td>
            <td><asp:TextBox ID="txbInitials" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Other Names:</td>
            <td><asp:TextBox ID="txbOtherNames" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Surname:</td>
            <td><asp:TextBox ID="txbSurname" runat="server" TextMode="SingleLine"></asp:TextBox> </td>        
        </tr>
        <tr>
            <td>Gender:</td>
            <td><asp:DropDownList ID="ddlGender" runat="server" DataTextField="GenderName" DataValueField="GenderName" ></asp:DropDownList> </td> 
        </tr>
        <tr>
            <td>Martial Status:</td>
            <!--<td><asp:TextBox ID="txbMartialStatus" runat="server" TextMode="SingleLine"></asp:TextBox> </td>-->
            <td><asp:DropDownList ID="ddlMartialStatus" runat="server" DataTextField="MartialStatusName" DataValueField="MartialStatusName" ></asp:DropDownList> </td>
        </tr>
        <tr>
            <td>Date of birth:</td>            
            <!--<td><asp:Calendar ID="Calendar1" runat="server"></asp:Calendar></td> -->
            <td><asp:TextBox ID="txbDob" runat="server" TextMode="SingleLine"></asp:TextBox> </td>              
        </tr>
        <tr>
            <td>Residential Address:</td>
            <td><asp:TextBox ID="txbAddRes" runat="server" TextMode="MultiLine"></asp:TextBox> </td>        
        </tr>
        <tr>
            <td>Office Address:</td>
            <td><asp:TextBox ID="txbAddOffice" runat="server" TextMode="MultiLine"></asp:TextBox> </td>        
        </tr>
        <tr><td>Telephone Number</td> </tr>
        <tr>
            <td>Mobile:</td>
            <td><asp:TextBox ID="txbTelMobile" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Office:</td>
            <td><asp:TextBox ID="txbTelOffice" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Resident:</td>
            <td><asp:TextBox ID="txbTelRes" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Fax:</td>
            <td><asp:TextBox ID="txbFax" runat="server" TextMode="SingleLine"></asp:TextBox> </td>
        </tr>
        <tr>
            <td>Email:</td>
            <td><asp:TextBox ID="txbEmail" runat="server" TextMode="SingleLine"></asp:TextBox>  </td>
        </tr>
        <tr>
            <td>Active:</td>
            <td><asp:CheckBox ID="chkActive" runat="server" Text=" " Checked="true"/>                 
            </td>
        </tr>        
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
            </td>
        </tr>

    </table>
    </div>

    
</asp:Content>
